////////////////////////////////
//	File:		InventoryState.h
//	Class:		SGP
//	Updated:	3/6/2012
//	Author:		Roc Myers
////////////////////////////////
#pragma once

#include "GameState.h"
#include "BitmapFont.h"
#include "Item.h"

class InventoryState : public GameState
{
private:
	// SINGLETON Stuff
	InventoryState(void);
	InventoryState(const InventoryState&);
	InventoryState& operator=(const InventoryState&);
	~InventoryState(void);

	// Class Variables
	int		Selection;
	float	sfxVol;
	float	bgmVol;
	float	pan;

	// Asset IDs
	int	m_nBGMID;
	int m_nCursorID;
	int m_nFontID;

	// Bitmap Font
	CBitmapFont Font;

	// SINGLETON
	static InventoryState* pInstance;

	void SaveSettings(const char* szFileName);

public:
	static InventoryState* GetInstance(void);
	void DeleteInstance();

	void UseSelected(Item i);

	// Inherited Functionality
	void Enter(void);	
	bool Input(void);	
	void Update(float fElapsedTime);	
	void Render(void);	
	void Exit(void);
};

